package com.test.lyt.entity.converter;


import com.test.lyt.entity.po.UserPO;
import com.test.lyt.entity.vo.IdTimeVO;
import com.test.lyt.entity.vo.UserVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UserConverter {
    UserVO userPOToUserVO(UserPO userPO);

    IdTimeVO userPOToIdTimeVO(UserPO userPO);

    List<IdTimeVO> userPOListToIdTimeVOList(List<UserPO> userPOList);

    List<UserVO> userPOListTVOList(List<UserPO> userPOList);
}
